package sd.zhr.moodcapsule.mapper;

import org.apache.ibatis.annotations.Mapper;
import sd.zhr.moodcapsule.pojo.MoodComment;

import java.util.List;

@Mapper
public interface MoodCommentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MoodComment record);

    int insertSelective(MoodComment record);

    MoodComment selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MoodComment record);

    int updateByPrimaryKeyWithBLOBs(MoodComment record);

    int updateByPrimaryKey(MoodComment record);

    List<MoodComment> selectAllByCapsuleId(Integer moodId);
}